<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/4/23
  Time: 15:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户信息添加</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="static/plugins/Hplus-v.4.1.0/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="static/plugins/Hplus-v.4.1.0/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="static/plugins/Hplus-v.4.1.0/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="static/plugins/Hplus-v.4.1.0/css/animate.css" rel="stylesheet">
    <link href="static/plugins/Hplus-v.4.1.0/css/style.css?v=4.1.0" rel="stylesheet">

    <!-- 全局js -->
    <script src="static/plugins/Hplus-v.4.1.0/js/jquery.min.js?v=2.1.4"></script>
    <script src="static/plugins/Hplus-v.4.1.0/js/bootstrap.min.js?v=3.3.6"></script>
    <script type="text/javascript">
        // 客户端浏览器验证
        // 通过了验证，返回true；如果没有通过验证，返回 false
        function checkMe() {
            // 验证通过标志位
            var canSubmit = true;

            return canSubmit;

        }
    </script>
</head>
<body>
<div class="ibox-content">
    <form action="addAndUpdateUserInfo" method="post" enctype="multipart/form-data" class="form-horizontal">
        <div class="form-group">
            <label class="col-sm-2 control-label">用户名</label>

            <div class="col-sm-2">
                <input type="text" id="userName" name="username" class="form-control">
                <span class="help-block m-b-none" id="user-name-label" style="color: red"></span>
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="form-group">
            <label class="col-sm-2 control-label">密码</label>
            <div class="col-sm-2">
                <input type="password" id="userPsw" name="userpsw" class="form-control"> <span
                    class="help-block m-b-none">密码由字母、数字、特殊符号组成</span>
                <span class="help-block m-b-none" id="user-psw-label" style="color: red"></span>
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="form-group">
            <label class="col-sm-2 control-label">确认密码</label>

            <div class="col-sm-2">
                <input type="password" id="userPsw2" name="userpsw2" class="form-control" name="password">
                <span class="help-block m-b-none" id="user-psw2-label" style="color: red"></span>
                <span class="help-block m-b-none" id="user-psw3-label" style="color: red"></span>
            </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">住址</label>

            <div class="col-sm-2">
                <input type="text" id="useraddress" name="useraddress" class="form-control">
                <span class="help-block m-b-none" id="user-address-label" style="color: red"></span>
            </div>
        </div>

        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">联系电话</label>

            <div class="col-sm-2">
                <input type="text" id="userTel" name="usertel" class="form-control">
                <span class="help-block m-b-none" id="user-tel-label" style="color: red"></span>
            </div>
        </div>

        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">注册日期</label>

            <div class="col-sm-2">
                <input type="date" id="userRegisteDate" name="userregdate" placeholder="选择注册日期"
                       class="form-control">
                <span class="help-block m-b-none" id="user-registerdate-label" style="color: red"></span>
            </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">头像</label>

            <div class="col-sm-2">
                <input type="file" id="userimg" name="file_userimg" class="form-control">
                <span class="help-block m-b-none" id="user-img-label" style="color: red"></span>
            </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-2">
                <button class="btn btn-primary" type="submit" onclick="return checkMe();">保存</button>
                <%--                <button class="btn btn-white" type="submit">取消</button>--%>
            </div>
        </div>
    </form>
</div>

</body>
</html>

